package com.dsdl.chatapp.module.chat;

import com.dsdl.chatapp.BasePresenter;
import com.dsdl.chatapp.BaseView;
import com.dsdl.chatapp.data.ChatMsg;
import com.dsdl.chatapp.data.SocketMessage;

/**
 * Created by zzg on 2016/7/30.
 */
public interface ChatContract {
    interface View extends BaseView<Presenter>{
        void sendSuccess();
        void sendFails();
    }

    interface Presenter extends BasePresenter{
        void sendMessage(SocketMessage message);
    }
}
